package ModelLayer;



/**
 * The test class PersonTest.
 *
 * @author  (your name)
 * @version (a version number or a date)
 */
public class PersonTest extends junit.framework.TestCase
{
    /**
     * Default constructor for test class PersonTest
     */
    public PersonTest()
    {
    }

    /**
     * Sets up the test fixture.
     *
     * Called before every test case method.
     */
    protected void setUp()
    {
    }

    /**
     * Tears down the test fixture.
     *
     * Called after every test case method.
     */
    protected void tearDown()
    {
    }

	public void testPersonTest()
	{
		ModelLayer.Person person2 = new ModelLayer.Person(100200, "Muu Muu", "Vejgade 12", 9000, "Aalborg", "25100100");
		assertEquals("Vejgade 12", person2.getAddress());
		assertEquals("Aalborg", person2.getCity());
		assertEquals(100200, person2.getId());
		assertEquals("Muu Muu", person2.getName());
		assertEquals("25100100", person2.getPhone());
		assertEquals(9000, person2.getZipcode());
		person2.setPhone("23100100");
	}
}

